header{
    height: 1rem;
    border-bottom: 1px solid #ccc;
    padding-top: .13rem;
    box-sizing: border-box;
    background-color: #fff;
    .search{
        width: 6.76rem;
        height: .73rem;
        background-color: #f0f0f0;
        margin: 0 auto;
        border-radius: .5rem;
        overflow: hidden;
        img{
            margin-left: .44rem;
            width: .31rem;
            margin-top: .02rem;
        }
        input{
            width: 87%;
            height: 100%;
            border: none;
            background: rgba(255, 255, 255, 0);
        }
    }
}

.cate{
    display: flex;
    background: #fff;
    margin-top: .12rem;
    flex-wrap: wrap;
    padding-bottom: .44rem;
    .item{
        width: 25%;
        text-align: center;
        margin-top: .5rem;
        img{
            width: .78rem;
            margin-bottom: .24rem;
        }
    }
}

.banner{
    text-align: center;
    margin-top: .21rem;
    img{
        width: 6.76rem;
    }
}

.cate-title{
    display: flex;
    justify-content: space-between;
    width: 6.76rem;
    margin: 0 auto;
    margin-top: .2rem;
    margin-bottom: .34rem;
}

.list{
    width: 6.84rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    .item{
        width: 3.31rem;
        margin-right: .22rem;
        background: #fff;
        border-radius: .1rem;
        overflow: hidden;
        &:nth-child(2n){
            margin-right: 0;
        }
        .title{
            margin-top: .2rem;
            margin-bottom: .2rem;
            margin-left: .16rem;
        }
        .price{
            margin-left: .21rem;
            color: #ff6518;
        }
        .num{
            text-align: right;
            padding-right: .19rem;
            box-sizing: border-box;
            margin-bottom: .23rem;
        }
    }
}
nav{
    position: fixed;
    left: 0;
    bottom: 0;
    background: #fff;
    width: 100%;
    ul{
        display: flex;
        text-align: center;
        li{
            margin-top: .23rem;
            width: 25%;
            img{
                width: .39rem;
                margin-bottom: .13rem;
            }
            div{
                margin-bottom: .09rem;
                color: #7f7f7f;
            }
        }
    }
}